home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 2029 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.0 KB

  1. Path: newsfeed.internetmci.com!panix!not-for-mail
  2. From: rcpj@panix.com (Pierre Jelenc)
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Locking a file?
  5. Date: 17 Apr 1996 10:27:35 -0400
  6. Organization: panix
  7. Distribution: inet
  8. Message-ID: <4l2v4n$gdr@panix2.panix.com>
  9. References: <4l12kf$4m0@panix2.panix.com> <4l250v$l61@news.knoware.nl>
  10. NNTP-Posting-Host: panix2.panix.com
  11.  
  12. Koos Pol <koos_pol@compuware.com> writes:
  13. > In <4l12kf$4m0@panix2.panix.com>, rcpj@panix.com (Pierre Jelenc) writes:
  14. > >
  15. > >How can I lock a file in OS/2 so that one and only one process at a time
  16. > >can modify it or its EA's? 
  17. >
  18. > Open the file in WRITE mode. (Atomic action)
  19.  
  20. Does that lock the EA's as well? I cannot find any documentation as to how
  21. SysPutEA() decides whether it has access to the file or not. 
  22.  
  23. Pierre
  24. -- 
  25. Pierre Jelenc              Know what's weird? Day by day nothing seems to
  26. rcpj@panix.com             change, but pretty soon everything is different.
  27. pierre@nycbeer.org                                         Calvin & Hobbes 
  28.                    http://www.columbia.edu/~pcj1/
  29.